package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 智能称重记录对象 sys_client_weight
 * 
 * @author spark
 * @date 2023-08-13
 */
public class SysClientWeight extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long dataId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 物料号 */
    @Excel(name = "物料号")
    private String goodsId;

    /** 物料、商品 */
    @Excel(name = "物料、商品")
    private String goodsName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal amount;

    /** 数量单位 */
    @Excel(name = "数量单位")
    private String amountUnit;

    /** 毛重 */
    @Excel(name = "毛重")
    private BigDecimal allWeight;

    /** 扣重 */
    @Excel(name = "扣重")
    private BigDecimal subWeight;

    /** 净重量 */
    @Excel(name = "净重量")
    private BigDecimal weight;

    /** 重量单位 */
    @Excel(name = "重量单位")
    private String weightUnit;

    /** 单重 */
    @Excel(name = "单重")
    private BigDecimal singleWeight;

    /** 单重单位 */
    @Excel(name = "单重单位")
    private String singleUnit;

    /** 校验上限 */
    @Excel(name = "校验上限")
    private BigDecimal checkUp;

    /** 校验下限 */
    @Excel(name = "校验下限")
    private BigDecimal checkFloor;

    /** 合格 */
    @Excel(name = "合格")
    private String pass;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 类别 */
    @Excel(name = "类别")
    private String dataType;

    /** 属性1 */
    @Excel(name = "属性1")
    private String prop1;

    /** 属性2 */
    @Excel(name = "属性2")
    private String prop2;

    /** 终端ID */
    @Excel(name = "终端ID")
    private Long clientId;

    /** 产线ID */
    @Excel(name = "产线ID")
    private Long workLineId;

    /** 车间ID */
    @Excel(name = "车间ID")
    private Long roomId;

    /** 工厂ID */
    @Excel(name = "工厂ID")
    private Long factoryId;

    @Excel(name = "终端名称")
    private String clientName;

    @Excel(name = "车间名称")
    private String roomName;

    @Excel(name = "工厂名称")
    private String factoryName;

    @Excel(name = "产线名称")
    private String lineName;

    private Long deptId;

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public void setDataId(Long dataId)
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setAmountUnit(String amountUnit) 
    {
        this.amountUnit = amountUnit;
    }

    public String getAmountUnit() 
    {
        return amountUnit;
    }
    public void setAllWeight(BigDecimal allWeight) 
    {
        this.allWeight = allWeight;
    }

    public BigDecimal getAllWeight() 
    {
        return allWeight;
    }
    public void setSubWeight(BigDecimal subWeight) 
    {
        this.subWeight = subWeight;
    }

    public BigDecimal getSubWeight() 
    {
        return subWeight;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setWeightUnit(String weightUnit) 
    {
        this.weightUnit = weightUnit;
    }

    public String getWeightUnit() 
    {
        return weightUnit;
    }
    public void setSingleWeight(BigDecimal singleWeight) 
    {
        this.singleWeight = singleWeight;
    }

    public BigDecimal getSingleWeight() 
    {
        return singleWeight;
    }
    public void setSingleUnit(String singleUnit) 
    {
        this.singleUnit = singleUnit;
    }

    public String getSingleUnit() 
    {
        return singleUnit;
    }
    public void setCheckUp(BigDecimal checkUp) 
    {
        this.checkUp = checkUp;
    }

    public BigDecimal getCheckUp() 
    {
        return checkUp;
    }
    public void setCheckFloor(BigDecimal checkFloor) 
    {
        this.checkFloor = checkFloor;
    }

    public BigDecimal getCheckFloor() 
    {
        return checkFloor;
    }
    public void setPass(String pass) 
    {
        this.pass = pass;
    }

    public String getPass() 
    {
        return pass;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDataType(String dataType) 
    {
        this.dataType = dataType;
    }

    public String getDataType() 
    {
        return dataType;
    }
    public void setProp1(String prop1) 
    {
        this.prop1 = prop1;
    }

    public String getProp1() 
    {
        return prop1;
    }
    public void setProp2(String prop2) 
    {
        this.prop2 = prop2;
    }

    public String getProp2() 
    {
        return prop2;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }

    public Long getWorkLineId() {
        return workLineId;
    }

    public void setWorkLineId(Long workLineId) {
        this.workLineId = workLineId;
    }

    public void setRoomId(Long roomId)
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setFactoryId(Long factoryId) 
    {
        this.factoryId = factoryId;
    }

    public Long getFactoryId() 
    {
        return factoryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataId", getDataId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("nickName", getNickName())
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("amount", getAmount())
            .append("amountUnit", getAmountUnit())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("allWeight", getAllWeight())
            .append("subWeight", getSubWeight())
            .append("weight", getWeight())
            .append("weightUnit", getWeightUnit())
            .append("singleWeight", getSingleWeight())
            .append("singleUnit", getSingleUnit())
            .append("checkUp", getCheckUp())
            .append("checkFloor", getCheckFloor())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("pass", getPass())
            .append("address", getAddress())
            .append("dataType", getDataType())
            .append("prop1", getProp1())
            .append("prop2", getProp2())
            .append("clientId", getClientId())
            .append("workLineId", getWorkLineId())
            .append("roomId", getRoomId())
            .append("factoryId", getFactoryId())
            .append("deptId", getDeptId())
            .toString();
    }
}
